package Runde7;

public class LandWassertank extends Abteil {
	
	/**
	 * @precondition t != null
	 * @postcondition Loads the given animal to the partition and returns the loaded animal.
	 * 					If no animal was loaded (full, not compatible) logically null will be returned
	*/
	public TransportierbaresTier abtLoad(TransportierbaresTier t) {
		if (tier != null) {
			return null;
		}
		TransportierbaresTier temp = t.doLoad(this);
		tier = temp;
		return temp;
	}
}
